package org.hp.dao.patient;

import org.hp.bean.Patient;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PatientDao {
    public List<Map<String,Object>> queryAll(Patient patient);
    public int del(int pid);
    public List<Map<String,Object>> queryDelAll();
    public int del2(int pid);
    public List<Map<String,Object>> queryDoctorAll();
    public int insert(Patient patient);
    public List<Map<String,Object>> queryOne(int pid);
    public int upd(Patient patient);
}
